
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="shortcut icon" type="image/x-icon" href="style/favicon.ico"/>
<link href="style/style.css" rel="stylesheet" type="text/css" />
<link href="style/bootstrap.min.css" rel="stylesheet" type="text/css" />
<script src="js/jquery-3.5.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/gatling.js"></script>
<script src="js/menu.js"></script>
<script src="js/ellipsis.js"></script>
<script src="js/all_sessions.js"></script>
<script src="js/stats.js"></script>
<script src="js/highstock.js"></script>
<script src="js/highcharts-more.js"></script>
<script src="js/theme.js"></script>
<script src="js/unpack.js"></script>
<title>Gatling Stats - busca inválida</title>
</head>
<body>
<div class="app-container">
<div class="frise"></div>
<div class="head">
  <div class="gatling-open-source">
    <a class="gatling-logo" href="https://gatling.io" target="blank_" title="Gatling Home Page"><img alt="Gatling" src="style/logo.svg"/></a>
    <a class="gatling-documentation" href="https://gatling.io/docs/" target="_blank">Documentation</a>
  </div>
  <a class="enterprise" href="https://gatling.io/enterprise/next-step/" target="_blank">Try <img alt="Gatling Enterprise" src="style/logo-enterprise.svg"/></a></div>
<div class="container details">
  <div class="nav">
    <ul></ul>
  </div>
    <div class="cadre">
      <div class="content">
        <div class="content-header">
          <div class="onglet">
            RinhaBackendSimulation
          </div>
          <div class="sous-menu" id="sousMenu">
            <div class="sous-menu-spacer">
              <div class="item "><a href="index.html">Global</a></div>
                <div class="item ouvert"><a id="details_link" href="#">Details</a></div>
              </div>
            </div>
          </div>
          <div class="content-in">
            <div class="container-article">
            <div class="article">
              
              
<div class="schema-container">

            <div id="ranges" class="schema ranges-large">
            </div>

                        <div class="infos">
                            <div class="infos-in">
	                        <div class="infos-title">Stats</div>
                                <div class="repli"></div>                               
                                <div class="info">
                                    <h2 class="first">Executions</h2>
                                    <table>
                                        <thead>
                                            <tr><th></th><th>Total</th><th>OK</th><th>KO</th></tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td class="title">Total count</td>
                                                <td id="numberOfRequests" class="total"></td>
                                                <td id="numberOfRequestsOK" class="ok"></td>
                                                <td id="numberOfRequestsKO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">Mean count/s</abbr></td>
                                                <td id="meanNumberOfRequestsPerSecond" class="total"></td>
                                                <td id="meanNumberOfRequestsPerSecondOK" class="ok"></td>
                                                <td id="meanNumberOfRequestsPerSecondKO" class="ko"></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <h2 class="second">Response Time (ms)</h2>
                                    <table>
                                        <thead>
                                            <tr>
                                                <th></th>
                                                <th>Total</th>
                                                <th>OK</th>
                                                <th>KO</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td class="title">Min</td>
                                                <td id="minResponseTime" class="total"></td>
                                                <td id="minResponseTimeOK" class="ok"></td>
                                                <td id="minResponseTimeKO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">50th percentile</td>
                                                <td id="percentiles1" class="total"></td>
                                                <td id="percentiles1OK" class="ok"></td>
                                                <td id="percentiles1KO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">75th percentile</td>
                                                <td id="percentiles2" class="total"></td>
                                                <td id="percentiles2OK" class="ok"></td>
                                                <td id="percentiles2KO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">95th percentile</td>
                                                <td id="percentiles3" class="total"></td>
                                                <td id="percentiles3OK" class="ok"></td>
                                                <td id="percentiles3KO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">99th percentile</td>
                                                <td id="percentiles4" class="total"></td>
                                                <td id="percentiles4OK" class="ok"></td>
                                                <td id="percentiles4KO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">Max</td>
                                                <td id="maxResponseTime" class="total"></td>
                                                <td id="maxResponseTimeOK" class="ok"></td>
                                                <td id="maxResponseTimeKO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">Mean</td>
                                                <td id="meanResponseTime" class="total"></td>
                                                <td id="meanResponseTimeOK" class="ok"></td>
                                                <td id="meanResponseTimeKO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">Standard Deviation</td>
                                                <td id="standardDeviation" class="total"></td>
                                                <td id="standardDeviationOK" class="ok"></td>
                                                <td id="standardDeviationKO" class="ko"></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>

</div>
<div class="statistics extensible-geant collapsed">
    <div class="title">
        Errors
    </div>
    <table id="container_errors" class="statistics-in extensible-geant">
        <thead>
            <tr>
                <th id="error-col-1" class="header sortable"><span>Error</span></th>
                <th id="error-col-2" class="header sortable"><span>Count</span></th>
                <th id="error-col-3" class="header sortable"><span>Percentage</span></th>
            </tr>
        </thead>
		<tbody>
		    
		    <tr>
		    	<td class="error-col-1 total ko">j.n.ConnectException: finishConnect(..) failed: Connection refused<span class="value" style="display:none">0</span></td>
		    	<td class="value error-col-2 total ko">4190</td>
		    	<td class="value error-col-3 total ko">100 %</td>
		    </tr>
		</tbody>
    </table>
</div>

            <div class="schema geant">
              <div id="responsetimeDistributionContainer" class="geant"></div>
            </div>

            <div class="schema geant">
              <div id="responsetimepercentilesovertimeokPercentilesContainer" class="geant"></div>
            </div>

            <div class="schema geant">
                <div id="requests" class="geant"></div>
            </div>

            <div class="schema geant">
                <div id="responses" class="geant"></div>
            </div>

            <div class="schema geant">
              <div id="container_response_time_dispersion" class="geant"></div>
            </div>

            </div>
          </div>
        </div>
      </div>
    </div>
</div>
<script>
    var pageStats = stats.contents['req_busca-inva-lida-b5618'].stats;
    $(document).ready(function() {
        $('.simulation-tooltip').popover({trigger:'hover', placement:'left'});
        setDetailsLinkUrl();
        setDetailsMenu();
        setActiveMenu();
        fillStats(pageStats);
        
Highcharts.setOptions({
  global: { useUTC: false }
});

var rangesChart = new Highcharts.Chart({
  chart: {
    renderTo: 'ranges',
    marginRight: 100
  },
  credits: { enabled: false },
  legend: { enabled: false },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  xAxis: {
    categories: [
      pageStats.group1.htmlName,
      pageStats.group2.htmlName,
      pageStats.group3.htmlName,
      pageStats.group4.htmlName
    ]
  },
  yAxis: {
    title: { text: 'Number of Requests' },
    reversedStacks: false
  },
  tooltip: {
    formatter: function() {
      var s;
      if (this.point.name) { // the pie chart
        s = ''+ this.point.name +': '+ this.y +'% requests';
      } else {
        s = ''+ this.y + ' requests';
      }
      return s;
    }
  },
  plotOptions: {
    series: {
      stacking: 'normal',
      shadow: true
    }
  },
  series: [
    {
      type: 'column',
      data: [{
      	color: '#68b65c',
      	y: pageStats.group1.count
      },
      {
      	color: '#FFDD00',
      	y: pageStats.group2.count
      },
      {
      	color: '#FFA900',
      	y: pageStats.group3.count
      },
      {
      	color: '#f15b4f',
      	y: pageStats.group4.count
      }]
    },
    {
      type: 'pie',
      name: 'Percentages',
      data: [
        {
          name: pageStats.group1.name,
          y: pageStats.group1.percentage,
          color: '#68b65c'
        },
        {
          name: pageStats.group2.name,
          y: pageStats.group2.percentage,
          color: '#FFDD00'
        },
        {
          name: pageStats.group3.name,
          y: pageStats.group3.percentage,
          color: '#FFA900'
        },
        {
          name: pageStats.group4.name,
          y: pageStats.group4.percentage,
          color: '#f15b4f'
        }
      ],
      center: [368, 0],
      size: 90,
      showInLegend: false,
      dataLabels: { enabled: false }
    }
  ]
});

rangesChart.setTitle({
  text: '<span class="chart_title">Response Time Ranges</span>',
  useHTML: true
});

	    $('#container_errors').sortable('#container_errors');
    
var responsetimeDistributionChart = new Highcharts.Chart({
  chart: {
    renderTo: 'responsetimeDistributionContainer',
    type: 'column',
    marginBottom: 60
  },
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: 5,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false
  },
  xAxis: {
    categories: ['0', '1', '2', '3', '4', '6', '7', '10', '21', '27'],
    tickInterval: 20
  },
  yAxis: {
    min: 0,
    title: { text: 'Percentage of Requests' },
    reversedStacks: false
  },
  tooltip: {
    formatter: function() {
      return '<b>'+ this.x +' ms</b><br/>'+
      this.series.name +': '+ this.y +' %<br/>'+
      'Total: '+ this.point.stackTotal + ' %';
    }
  },
  plotOptions: {
    series: {
      groupPadding: 0,
      stacking: 'normal',
	    shadow: true
    }
  },
  series: [
  	{
type: 'column',
color: '#68b65c',
name: 'OK',
data: [
  
],
tooltip: { yDecimals: 0, ySuffix: 'ms' }
},
  	{
type: 'column',
color: '#f15b4f',
name: 'KO',
data: [
  80.64,18.78,0.31,0.09,0.04,0.02,0.02,0.02,0.02,0.02
],
tooltip: { yDecimals: 0, ySuffix: 'ms' }
}
  ]
});

responsetimeDistributionChart.setTitle({
  text: '<span class="chart_title">Response Time Distribution</span>',
  useHTML: true
});

var responsetimepercentilesovertimeokPercentiles = unpack([[1692801247,null],[1692801248,null],[1692801249,null],[1692801250,null],[1692801251,null],[1692801252,null],[1692801253,null],[1692801254,null],[1692801255,null],[1692801256,null],[1692801257,null],[1692801258,null],[1692801259,null],[1692801260,null],[1692801261,null],[1692801262,null],[1692801263,null],[1692801264,null],[1692801265,null],[1692801266,null],[1692801267,null],[1692801268,null],[1692801269,null],[1692801270,null],[1692801271,null],[1692801272,null],[1692801273,null],[1692801274,null],[1692801275,null],[1692801276,null],[1692801277,null],[1692801278,null],[1692801279,null],[1692801280,null],[1692801281,null],[1692801282,null],[1692801283,null],[1692801284,null],[1692801285,null],[1692801286,null],[1692801287,null],[1692801288,null],[1692801289,null],[1692801290,null],[1692801291,null],[1692801292,null],[1692801293,null],[1692801294,null],[1692801295,null],[1692801296,null],[1692801297,null],[1692801298,null],[1692801299,null],[1692801300,null],[1692801301,null],[1692801302,null],[1692801303,null],[1692801304,null],[1692801305,null],[1692801306,null],[1692801307,null],[1692801308,null],[1692801309,null],[1692801310,null],[1692801311,null],[1692801312,null],[1692801313,null],[1692801314,null],[1692801315,null],[1692801316,null],[1692801317,null],[1692801318,null],[1692801319,null],[1692801320,null],[1692801321,null],[1692801322,null],[1692801323,null],[1692801324,null],[1692801325,null],[1692801326,null],[1692801327,null],[1692801328,null],[1692801329,null],[1692801330,null],[1692801331,null],[1692801332,null],[1692801333,null],[1692801334,null],[1692801335,null],[1692801336,null],[1692801337,null],[1692801338,null],[1692801339,null],[1692801340,null],[1692801341,null],[1692801342,null],[1692801343,null],[1692801344,null],[1692801345,null],[1692801346,null],[1692801347,null],[1692801348,null],[1692801349,null],[1692801350,null],[1692801351,null],[1692801352,null],[1692801353,null],[1692801354,null],[1692801355,null],[1692801356,null],[1692801357,null],[1692801358,null],[1692801359,null],[1692801360,null],[1692801361,null],[1692801362,null],[1692801363,null],[1692801364,null],[1692801365,null],[1692801366,null],[1692801367,null],[1692801368,null],[1692801369,null],[1692801370,null],[1692801371,null],[1692801372,null],[1692801373,null],[1692801374,null],[1692801375,null],[1692801376,null],[1692801377,null],[1692801378,null],[1692801379,null],[1692801380,null],[1692801381,null],[1692801382,null],[1692801383,null],[1692801384,null],[1692801385,null],[1692801386,null],[1692801387,null],[1692801388,null],[1692801389,null],[1692801390,null],[1692801391,null],[1692801392,null],[1692801393,null],[1692801394,null],[1692801395,null],[1692801396,null],[1692801397,null],[1692801398,null],[1692801399,null],[1692801400,null],[1692801401,null],[1692801402,null],[1692801403,null],[1692801404,null],[1692801405,null],[1692801406,null],[1692801407,null],[1692801408,null],[1692801409,null],[1692801410,null],[1692801411,null],[1692801412,null],[1692801413,null],[1692801414,null],[1692801415,null],[1692801416,null],[1692801417,null],[1692801418,null],[1692801419,null],[1692801420,null],[1692801421,null],[1692801422,null],[1692801423,null],[1692801424,null],[1692801425,null],[1692801426,null],[1692801427,null],[1692801428,null],[1692801429,null],[1692801430,null],[1692801431,null],[1692801432,null],[1692801433,null],[1692801434,null],[1692801435,null],[1692801436,null],[1692801437,null],[1692801438,null],[1692801439,null],[1692801440,null],[1692801441,null],[1692801442,null],[1692801443,null],[1692801444,null],[1692801445,null],[1692801446,null],[1692801447,null],[1692801448,null],[1692801449,null],[1692801450,null],[1692801451,null]]);

var responsetimepercentilesovertimeokPercentilesChart = new Highcharts.StockChart({
  chart: {
    renderTo: 'responsetimepercentilesovertimeokPercentilesContainer',
    zoomType: 'x',
    marginBottom: 60
  },
  colors: ['#c4fd90', '#7ff77f', '#6ff2ad', '#61ede6', '#58c7e0', '#4ea1d4', '#487ad9', '#3f52cc', '#7335dc', '#c73905', '#FFA900'],
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: -65,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false,
    baseSeries: 9
  },
  rangeSelector: {
    rangeSelector: { align: "left" },
    buttonSpacing: 0,
    buttonTheme: {
      fill: '#CFC9C6',
      padding: 1,
      stroke: '#000000',
      'stroke-width': 0.25,
      style: {
        color: '#000000',
        fontWeight: 'bold',
      },
      states: {
        stroke: '#92918C',
        'stroke-width': 0.25,
        hover: {
          fill: '#92918C',
          style: { color: 'black' }
        },
        select: {
          fill: '#FFA900',
          style: { color: 'white' }
        }
      }
    },
    buttons : [
      {
        type : 'minute',
        count : 1,
        text : '1m'
      }, {
        type : 'minute',
        count : 10,
        text : '10m'
      }, {
        type : 'hour',
        count : 1,
        text : '1h'
      }, {
        type : 'all',
        count : 1,
        text : 'All'
      }
    ],
    selected : 3,
    inputEnabled : false
  },
  xAxis: {
    type: 'datetime',
    ordinal: false,
    maxZoom: 10000 // three days
  },
  yAxis:[
    {
      min: 0,
      title: { text: 'Response Time (ms)' },
      opposite: false
    }, {
      min: 0,
      title: {
        text: 'Active Users',
        style: { color: '#FFA900' }
      },
      opposite: true
    }
  ],
  plotOptions: {
    arearange: { lineWidth: 1 },
    series: {
      dataGrouping: { enabled: false }
    }
  },
  series: [
  
    
         {
pointInterval: 1000,
name: 'min',
data: responsetimepercentilesovertimeokPercentiles[0],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 10
},
         {
pointInterval: 1000,
name: '25%',
data: responsetimepercentilesovertimeokPercentiles[1],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 9
},
         {
pointInterval: 1000,
name: '50%',
data: responsetimepercentilesovertimeokPercentiles[2],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 8
},
         {
pointInterval: 1000,
name: '75%',
data: responsetimepercentilesovertimeokPercentiles[3],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 7
},
         {
pointInterval: 1000,
name: '80%',
data: responsetimepercentilesovertimeokPercentiles[4],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 6
},
         {
pointInterval: 1000,
name: '85%',
data: responsetimepercentilesovertimeokPercentiles[5],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 5
},
         {
pointInterval: 1000,
name: '90%',
data: responsetimepercentilesovertimeokPercentiles[6],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 4
},
         {
pointInterval: 1000,
name: '95%',
data: responsetimepercentilesovertimeokPercentiles[7],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 3
},
         {
pointInterval: 1000,
name: '99%',
data: responsetimepercentilesovertimeokPercentiles[8],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 2
},
         {
pointInterval: 1000,
name: 'max',
data: responsetimepercentilesovertimeokPercentiles[9],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 1
},
  allUsersData
  ]
});

responsetimepercentilesovertimeokPercentilesChart.setTitle({
  text: '<span class="chart_title chart_title_">Response Time Percentiles over Time (OK)</span>',
  useHTML: true
});

var requests = unpack([[1692801247,[2,0,2]],[1692801248,[2,0,2]],[1692801249,[2,0,2]],[1692801250,[2,0,2]],[1692801251,[2,0,2]],[1692801252,[2,0,2]],[1692801253,[2,0,2]],[1692801254,[2,0,2]],[1692801255,[2,0,2]],[1692801256,[2,0,2]],[1692801257,[2,0,2]],[1692801258,[2,0,2]],[1692801259,[2,0,2]],[1692801260,[2,0,2]],[1692801261,[2,0,2]],[1692801262,[2,0,2]],[1692801263,[2,0,2]],[1692801264,[2,0,2]],[1692801265,[2,0,2]],[1692801266,[2,0,2]],[1692801267,[2,0,2]],[1692801268,[2,0,2]],[1692801269,[2,0,2]],[1692801270,[2,0,2]],[1692801271,[2,0,2]],[1692801272,[4,0,4]],[1692801273,[6,0,6]],[1692801274,[6,0,6]],[1692801275,[6,0,6]],[1692801276,[7,0,7]],[1692801277,[7,0,7]],[1692801278,[7,0,7]],[1692801279,[8,0,8]],[1692801280,[7,0,7]],[1692801281,[8,0,8]],[1692801282,[8,0,8]],[1692801283,[8,0,8]],[1692801284,[8,0,8]],[1692801285,[8,0,8]],[1692801286,[9,0,9]],[1692801287,[9,0,9]],[1692801288,[9,0,9]],[1692801289,[9,0,9]],[1692801290,[10,0,10]],[1692801291,[9,0,9]],[1692801292,[10,0,10]],[1692801293,[10,0,10]],[1692801294,[10,0,10]],[1692801295,[10,0,10]],[1692801296,[11,0,11]],[1692801297,[11,0,11]],[1692801298,[10,0,10]],[1692801299,[12,0,12]],[1692801300,[11,0,11]],[1692801301,[12,0,12]],[1692801302,[11,0,11]],[1692801303,[12,0,12]],[1692801304,[12,0,12]],[1692801305,[13,0,13]],[1692801306,[12,0,12]],[1692801307,[13,0,13]],[1692801308,[13,0,13]],[1692801309,[13,0,13]],[1692801310,[13,0,13]],[1692801311,[13,0,13]],[1692801312,[14,0,14]],[1692801313,[13,0,13]],[1692801314,[14,0,14]],[1692801315,[14,0,14]],[1692801316,[15,0,15]],[1692801317,[14,0,14]],[1692801318,[15,0,15]],[1692801319,[15,0,15]],[1692801320,[15,0,15]],[1692801321,[15,0,15]],[1692801322,[16,0,16]],[1692801323,[15,0,15]],[1692801324,[16,0,16]],[1692801325,[16,0,16]],[1692801326,[16,0,16]],[1692801327,[17,0,17]],[1692801328,[16,0,16]],[1692801329,[17,0,17]],[1692801330,[17,0,17]],[1692801331,[17,0,17]],[1692801332,[18,0,18]],[1692801333,[17,0,17]],[1692801334,[18,0,18]],[1692801335,[17,0,17]],[1692801336,[19,0,19]],[1692801337,[18,0,18]],[1692801338,[18,0,18]],[1692801339,[19,0,19]],[1692801340,[19,0,19]],[1692801341,[19,0,19]],[1692801342,[19,0,19]],[1692801343,[20,0,20]],[1692801344,[19,0,19]],[1692801345,[20,0,20]],[1692801346,[20,0,20]],[1692801347,[20,0,20]],[1692801348,[20,0,20]],[1692801349,[21,0,21]],[1692801350,[21,0,21]],[1692801351,[21,0,21]],[1692801352,[21,0,21]],[1692801353,[21,0,21]],[1692801354,[22,0,22]],[1692801355,[21,0,21]],[1692801356,[22,0,22]],[1692801357,[22,0,22]],[1692801358,[22,0,22]],[1692801359,[23,0,23]],[1692801360,[23,0,23]],[1692801361,[23,0,23]],[1692801362,[23,0,23]],[1692801363,[23,0,23]],[1692801364,[23,0,23]],[1692801365,[23,0,23]],[1692801366,[24,0,24]],[1692801367,[24,0,24]],[1692801368,[24,0,24]],[1692801369,[25,0,25]],[1692801370,[24,0,24]],[1692801371,[25,0,25]],[1692801372,[25,0,25]],[1692801373,[25,0,25]],[1692801374,[25,0,25]],[1692801375,[26,0,26]],[1692801376,[26,0,26]],[1692801377,[26,0,26]],[1692801378,[25,0,25]],[1692801379,[27,0,27]],[1692801380,[26,0,26]],[1692801381,[26,0,26]],[1692801382,[27,0,27]],[1692801383,[27,0,27]],[1692801384,[27,0,27]],[1692801385,[28,0,28]],[1692801386,[28,0,28]],[1692801387,[27,0,27]],[1692801388,[28,0,28]],[1692801389,[28,0,28]],[1692801390,[29,0,29]],[1692801391,[28,0,28]],[1692801392,[29,0,29]],[1692801393,[28,0,28]],[1692801394,[29,0,29]],[1692801395,[30,0,30]],[1692801396,[29,0,29]],[1692801397,[30,0,30]],[1692801398,[30,0,30]],[1692801399,[30,0,30]],[1692801400,[30,0,30]],[1692801401,[30,0,30]],[1692801402,[31,0,31]],[1692801403,[30,0,30]],[1692801404,[31,0,31]],[1692801405,[31,0,31]],[1692801406,[32,0,32]],[1692801407,[31,0,31]],[1692801408,[32,0,32]],[1692801409,[32,0,32]],[1692801410,[32,0,32]],[1692801411,[32,0,32]],[1692801412,[33,0,33]],[1692801413,[32,0,32]],[1692801414,[33,0,33]],[1692801415,[33,0,33]],[1692801416,[33,0,33]],[1692801417,[34,0,34]],[1692801418,[33,0,33]],[1692801419,[34,0,34]],[1692801420,[34,0,34]],[1692801421,[34,0,34]],[1692801422,[35,0,35]],[1692801423,[34,0,34]],[1692801424,[35,0,35]],[1692801425,[34,0,34]],[1692801426,[36,0,36]],[1692801427,[35,0,35]],[1692801428,[35,0,35]],[1692801429,[36,0,36]],[1692801430,[36,0,36]],[1692801431,[36,0,36]],[1692801432,[36,0,36]],[1692801433,[37,0,37]],[1692801434,[36,0,36]],[1692801435,[37,0,37]],[1692801436,[37,0,37]],[1692801437,[37,0,37]],[1692801438,[37,0,37]],[1692801439,[38,0,38]],[1692801440,[38,0,38]],[1692801441,[38,0,38]],[1692801442,[38,0,38]],[1692801443,[39,0,39]],[1692801444,[38,0,38]],[1692801445,[38,0,38]],[1692801446,[40,0,40]],[1692801447,[39,0,39]],[1692801448,[38,0,38]],[1692801449,[40,0,40]],[1692801450,[40,0,40]],[1692801451,[58,0,58]]]);

var requestsChart = new Highcharts.StockChart({
  chart: {
    renderTo: 'requests',
    zoomType: 'x',
    marginBottom: 60
  },
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: -65,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false
  },
  rangeSelector: {
    buttonSpacing: 0,
    buttonTheme: {
      fill: '#CFC9C6',
      padding: 1,
      stroke: '#000000',
      'stroke-width': 0.25,
      style: {
        color: '#000000',
        fontWeight: 'bold',
      },
      states: {
        stroke: '#000000',
        'stroke-width': 0.25,
        hover: {
          fill: '#92918C',
          style: { color: 'black' }
         },
         select: {
          fill: '#FFA900',
          style: { color: 'white' }
        }
      }
    },
    buttons : [
      {
        type : 'minute',
        count : 1,
        text : '1m'
      }, {
        type : 'minute',
        count : 10,
        text : '10m'
      }, {
        type : 'hour',
        count : 1,
        text : '1h'
      }, {
        type : 'all',
        count : 1,
        text : 'All'
      }
    ],
    selected : 3,
    inputEnabled : false
  },
  plotOptions: {
    series: {
      dataGrouping: { enabled: false }
    },
    area: {
      stacking: 'normal'
    }
  },
  xAxis: {
    type: 'datetime',
    ordinal: false,
    maxZoom: 10000 // three days
  },
  yAxis:[
    {
      min: 0,
      title: { text: 'Number of requests' },
      opposite: false,
      reversedStacks: false
    }, {
      min: 0,
      title: {
        text: 'Active Users',
        style: { color: '#FFA900' }
      },
      opposite: true
    }
  ],
  series: [
    {
color: '#5E7BE2',
name: 'All',
data: requests[0],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
,type: 'area'},
    allUsersData
  ]
});

requestsChart.setTitle({
  text: '<span class="chart_title">Number of requests per second</span>',
  useHTML: true
});

var responses = unpack([[1692801247,[2,0,2]],[1692801248,[2,0,2]],[1692801249,[2,0,2]],[1692801250,[2,0,2]],[1692801251,[2,0,2]],[1692801252,[2,0,2]],[1692801253,[2,0,2]],[1692801254,[2,0,2]],[1692801255,[2,0,2]],[1692801256,[2,0,2]],[1692801257,[2,0,2]],[1692801258,[2,0,2]],[1692801259,[2,0,2]],[1692801260,[2,0,2]],[1692801261,[2,0,2]],[1692801262,[2,0,2]],[1692801263,[2,0,2]],[1692801264,[2,0,2]],[1692801265,[2,0,2]],[1692801266,[2,0,2]],[1692801267,[2,0,2]],[1692801268,[2,0,2]],[1692801269,[2,0,2]],[1692801270,[2,0,2]],[1692801271,[2,0,2]],[1692801272,[4,0,4]],[1692801273,[6,0,6]],[1692801274,[6,0,6]],[1692801275,[6,0,6]],[1692801276,[7,0,7]],[1692801277,[7,0,7]],[1692801278,[7,0,7]],[1692801279,[8,0,8]],[1692801280,[7,0,7]],[1692801281,[8,0,8]],[1692801282,[8,0,8]],[1692801283,[8,0,8]],[1692801284,[8,0,8]],[1692801285,[8,0,8]],[1692801286,[9,0,9]],[1692801287,[9,0,9]],[1692801288,[9,0,9]],[1692801289,[9,0,9]],[1692801290,[10,0,10]],[1692801291,[9,0,9]],[1692801292,[10,0,10]],[1692801293,[10,0,10]],[1692801294,[10,0,10]],[1692801295,[10,0,10]],[1692801296,[11,0,11]],[1692801297,[11,0,11]],[1692801298,[10,0,10]],[1692801299,[12,0,12]],[1692801300,[11,0,11]],[1692801301,[12,0,12]],[1692801302,[11,0,11]],[1692801303,[12,0,12]],[1692801304,[12,0,12]],[1692801305,[12,0,12]],[1692801306,[13,0,13]],[1692801307,[13,0,13]],[1692801308,[13,0,13]],[1692801309,[13,0,13]],[1692801310,[12,0,12]],[1692801311,[14,0,14]],[1692801312,[13,0,13]],[1692801313,[14,0,14]],[1692801314,[14,0,14]],[1692801315,[14,0,14]],[1692801316,[15,0,15]],[1692801317,[14,0,14]],[1692801318,[15,0,15]],[1692801319,[15,0,15]],[1692801320,[15,0,15]],[1692801321,[15,0,15]],[1692801322,[16,0,16]],[1692801323,[15,0,15]],[1692801324,[16,0,16]],[1692801325,[16,0,16]],[1692801326,[16,0,16]],[1692801327,[17,0,17]],[1692801328,[16,0,16]],[1692801329,[17,0,17]],[1692801330,[17,0,17]],[1692801331,[17,0,17]],[1692801332,[18,0,18]],[1692801333,[17,0,17]],[1692801334,[18,0,18]],[1692801335,[17,0,17]],[1692801336,[19,0,19]],[1692801337,[18,0,18]],[1692801338,[18,0,18]],[1692801339,[19,0,19]],[1692801340,[19,0,19]],[1692801341,[19,0,19]],[1692801342,[19,0,19]],[1692801343,[20,0,20]],[1692801344,[19,0,19]],[1692801345,[20,0,20]],[1692801346,[20,0,20]],[1692801347,[20,0,20]],[1692801348,[20,0,20]],[1692801349,[21,0,21]],[1692801350,[21,0,21]],[1692801351,[21,0,21]],[1692801352,[21,0,21]],[1692801353,[21,0,21]],[1692801354,[22,0,22]],[1692801355,[21,0,21]],[1692801356,[22,0,22]],[1692801357,[22,0,22]],[1692801358,[22,0,22]],[1692801359,[23,0,23]],[1692801360,[23,0,23]],[1692801361,[23,0,23]],[1692801362,[23,0,23]],[1692801363,[23,0,23]],[1692801364,[23,0,23]],[1692801365,[23,0,23]],[1692801366,[24,0,24]],[1692801367,[24,0,24]],[1692801368,[24,0,24]],[1692801369,[25,0,25]],[1692801370,[24,0,24]],[1692801371,[25,0,25]],[1692801372,[25,0,25]],[1692801373,[25,0,25]],[1692801374,[25,0,25]],[1692801375,[25,0,25]],[1692801376,[27,0,27]],[1692801377,[26,0,26]],[1692801378,[25,0,25]],[1692801379,[27,0,27]],[1692801380,[26,0,26]],[1692801381,[26,0,26]],[1692801382,[27,0,27]],[1692801383,[27,0,27]],[1692801384,[27,0,27]],[1692801385,[28,0,28]],[1692801386,[28,0,28]],[1692801387,[27,0,27]],[1692801388,[28,0,28]],[1692801389,[28,0,28]],[1692801390,[29,0,29]],[1692801391,[28,0,28]],[1692801392,[29,0,29]],[1692801393,[28,0,28]],[1692801394,[29,0,29]],[1692801395,[30,0,30]],[1692801396,[29,0,29]],[1692801397,[30,0,30]],[1692801398,[30,0,30]],[1692801399,[30,0,30]],[1692801400,[30,0,30]],[1692801401,[30,0,30]],[1692801402,[31,0,31]],[1692801403,[30,0,30]],[1692801404,[31,0,31]],[1692801405,[31,0,31]],[1692801406,[32,0,32]],[1692801407,[31,0,31]],[1692801408,[32,0,32]],[1692801409,[32,0,32]],[1692801410,[32,0,32]],[1692801411,[32,0,32]],[1692801412,[33,0,33]],[1692801413,[32,0,32]],[1692801414,[33,0,33]],[1692801415,[33,0,33]],[1692801416,[33,0,33]],[1692801417,[34,0,34]],[1692801418,[33,0,33]],[1692801419,[34,0,34]],[1692801420,[34,0,34]],[1692801421,[34,0,34]],[1692801422,[35,0,35]],[1692801423,[34,0,34]],[1692801424,[35,0,35]],[1692801425,[34,0,34]],[1692801426,[36,0,36]],[1692801427,[35,0,35]],[1692801428,[35,0,35]],[1692801429,[36,0,36]],[1692801430,[36,0,36]],[1692801431,[36,0,36]],[1692801432,[36,0,36]],[1692801433,[37,0,37]],[1692801434,[36,0,36]],[1692801435,[37,0,37]],[1692801436,[37,0,37]],[1692801437,[37,0,37]],[1692801438,[37,0,37]],[1692801439,[38,0,38]],[1692801440,[38,0,38]],[1692801441,[38,0,38]],[1692801442,[38,0,38]],[1692801443,[39,0,39]],[1692801444,[38,0,38]],[1692801445,[38,0,38]],[1692801446,[40,0,40]],[1692801447,[39,0,39]],[1692801448,[38,0,38]],[1692801449,[40,0,40]],[1692801450,[40,0,40]],[1692801451,[58,0,58]]]);

var requestsChart = new Highcharts.StockChart({
  chart: {
    renderTo: 'responses',
    zoomType: 'x',
    marginBottom: 60
  },
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: -65,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false
  },
  rangeSelector: {
    buttonSpacing: 0,
    buttonTheme: {
      fill: '#CFC9C6',
      padding: 1,
      stroke: '#000000',
      'stroke-width': 0.25,
      style: {
        color: '#000000',
        fontWeight: 'bold',
      },
      states: {
        stroke: '#000000',
        'stroke-width': 0.25,
        hover: {
          fill: '#92918C',
          style: { color: 'black' }
         },
         select: {
          fill: '#FFA900',
          style: { color: 'white' }
        }
      }
    },
    buttons : [
      {
        type : 'minute',
        count : 1,
        text : '1m'
      }, {
        type : 'minute',
        count : 10,
        text : '10m'
      }, {
        type : 'hour',
        count : 1,
        text : '1h'
      }, {
        type : 'all',
        count : 1,
        text : 'All'
      }
    ],
    selected : 3,
    inputEnabled : false
  },
  plotOptions: {
    series: {
      dataGrouping: { enabled: false }
    },
    area: {
      stacking: 'normal'
    }
  },
  xAxis: {
    type: 'datetime',
    ordinal: false,
    maxZoom: 10000 // three days
  },
  yAxis:[
    {
      min: 0,
      title: { text: 'Number of responses' },
      opposite: false,
      reversedStacks: false
    }, {
      min: 0,
      title: {
        text: 'Active Users',
        style: { color: '#FFA900' }
      },
      opposite: true
    }
  ],
  series: [
    {
color: '#5E7BE2',
name: 'All',
data: responses[0],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
},
{
color: '#68b65c',
name: 'OK',
data: responses[1],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
,type: 'area'},
{
color: '#f15b4f',
name: 'KO',
data: responses[2],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
,type: 'area'},
    allUsersData,
{
  
type: 'pie',
name: 'Distribution',
data: [
  {name: 'OK', y: 0.0, color: '#68b65c'},{name: 'KO', y: 4190.0, color: '#f15b4f'}
],
center: [775, -40],
size: 70,
showInLegend: false,
dataLabels: { enabled: false },
dataGrouping: { enabled: false }

}

  ]
});

requestsChart.setTitle({
  text: '<span class="chart_title">Number of responses per second</span>',
  useHTML: true
});

var scatterChart = new Highcharts.Chart({
  chart: {
    renderTo: 'container_response_time_dispersion', 
    defaultSeriesType: 'scatter',
    zoomType: 'xy',
    marginBottom: 90
  },
  credits: { enabled: false },
  xAxis: {
    title: {
      enabled: true,
      text: 'Global number of requests per second',
      style: { fontWeight: 'bold' }
    },
    startOnTick: true,
    endOnTick: true,
    showLastLabel: true,
    min: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  yAxis: {
    min: 0,
    title: { text: 'Response Time (ms)' }
  },
  tooltip: {
    formatter: function() {
         return ''+ this.y +' ms at ' + this.x + ' allreq/s';
    }
  },
  legend: {
    enabled: true,
    floating: true,
    y: 0,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
  },
  plotOptions: {
    scatter: {
      marker: {
        radius: 3,
        states: {
          hover: {
            enabled: true,
            lineColor: 'rgb(100,100,100)'
          }
        }
      },
      states: {
        hover: {
          marker: { enabled: false }
        }
      }
    }
  },
  series: [
	  {
type: 'scatter',
color: '#68b65c',
name: 'OK',
data: [
[]
]},
	  {
type: 'scatter',
color: '#f15b4f',
name: 'KO',
data: [
[6,9],[6,1],[6,1],[6,2],[6,1],[6,1],[6,1],[6,20],[6,25],[6,2],[6,1],[6,1],[7,1],[7,1],[7,1],[8,1],[9,1],[9,1],[9,1],[10,1],[10,1],[11,1],[12,1],[12,1],[13,1],[14,1],[21,1],[26,5],[30,1],[35,1],[37,1],[42,1],[47,1],[50,1],[55,2],[58,1],[62,1],[66,1],[70,1],[75,1],[78,1],[83,1],[86,1],[91,1],[94,1],[99,1],[102,1],[106,1],[110,0],[115,1],[119,1],[121,1],[127,1],[130,1],[135,1],[139,1],[141,1],[147,0],[151,1],[154,1],[160,1],[162,0],[168,1],[170,1],[174,1],[178,1],[182,1],[187,1],[190,0],[196,0],[198,1],[203,1],[206,0],[211,0],[215,1],[219,0],[222,0],[227,0],[231,0],[235,1],[238,0],[243,1],[247,1],[251,0],[255,1],[259,0],[262,1],[268,1],[269,1],[277,0],[278,0],[283,1],[287,1],[291,1],[295,1],[299,1],[303,0],[306,0],[311,0],[315,1],[319,1],[322,0],[328,1],[331,1],[335,1],[339,1],[343,0],[347,0],[350,0],[356,0],[359,0],[363,0],[368,1],[372,1],[375,0],[379,1],[384,1],[386,1],[390,1],[396,1],[400,1],[402,0],[407,0],[412,0],[416,0],[419,1],[422,1],[428,1],[432,1],[436,1],[438,1],[443,0],[448,1],[451,1],[454,1],[461,1],[463,1],[466,0],[473,0],[476,0],[479,1],[483,1],[487,0],[492,0],[497,1],[499,1],[501,1],[508,1],[512,0],[516,0],[520,0],[523,1],[528,1],[532,0],[535,1],[539,1],[543,0],[548,0],[551,1],[557,0],[559,0],[564,0],[567,0],[573,0],[575,0],[581,0],[583,0],[588,1],[589,0],[598,0],[600,1],[603,0],[608,1],[612,1],[616,1],[621,1],[622,1],[628,0],[631,1],[637,0],[640,0],[643,0],[649,1],[652,1],[656,0],[660,0],[663,0],[668,0],[672,0],[676,0],[680,0],[684,0],[689,0],[691,1],[696,1],[701,0],[704,0],[707,0],[713,0],[717,0],[720,0],[722,1],[730,1],[732,0],[1076,0]
]}
	]
});

scatterChart.setTitle({
  text: '<span class="chart_title">Response Time against Global Throughput</span>',
  useHTML: true
});

    });
</script>
</div>
</body>
</html>
